import service from "@/utils/request"

import LoginWork from "@/utils/LoginWork"
// 指令产量明细查询
export const lotNoQuery = (parms:any) => {
    return LoginWork.post<any,any>(`/salaryFile/getPcCuttingSalary`,parms)
}

// 下拉框数据查询
export const DropDownDataQuery  = () => {
    return service.get<any,any>(`/salaryFile/returnCondition`)
}

// 按钮功能
export const buttonBance = (parms:any) => {
    return LoginWork.post<any,any>(`/salaryFile/confirmSalary`,parms)
}

// 余额查询
export const blanceQuery = (parms:any) => {
    return service.post<any,any>(`/salaryFile/getPcCuttingTotalWP`,parms)
}

// 导出员工总表
export const sumEmpoilye = () => {
    return LoginWork.get<any,any>(`/salaryFile/workerDetail`)
}

// 指令查询
export const lotNoQuery1 = (lotNo:string,parms?:any) => {
    parms = {
    pageNum:1,
    pageSize:999
    }
   
    return service.put<any,any>(`/back/getRyLots?lotNo=${lotNo}`,parms)
}
